|
Author |
Thread Statistics | Show CCP posts - 2 post(s) |

Laxxor Borocillicase
Freelance Assassins
|
Posted - 2009.12.31 00:55:00 -
[1]
Edited by: Laxxor Borocillicase on 31/12/2009 01:07:34 Hi
I was wondering if there was any hint you could give as to the following:
Given the following code
MarketApi mEveCentral = new EveCentralMarketApi(); mEveCentral.EveApiCore = mEveData.EveApiCore;
//' any product from the EveApiCore.ProductTypes list mEveCentral.GetProductStatistics(tmpProducts[0].Blueprint.Product)
Generates an exception:
Invalid Eve-Central response structure Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Int64.Parse(String s) at EveAI.Live.Market.EveCentralMarketApi.ReadTradeQuoteXml(XmlNode node) at EveAI.Live.Market.EveCentralMarketApi.ReadProductStatistics(String xmlText)
I am using 1.1.10b.
It's been a while since I dabbled with your API and possibly I'm forgetting something I learnt previously, but this code used to work with 0.9 about 9-15 months ago.
Excellent work and many thanks
Laxxor
Using EveMetricsMarketApi does not produce the exception.
|

Laxxor Borocillicase
Freelance Assassins
|
Posted - 2010.01.06 18:16:00 -
[2]
Originally by: Amida Ta Edited by: Amida Ta on 05/01/2010 17:57:17 This is a problem with EveAI and has already been fixed in 1.1.10c:
Quote: òAdded workaround for bug or unannounced change in Eve Central
Nice - might want to update the link on the first post and the EVEAI page on EveDev as they both point to "b".
Many thanks
|

Laxxor Borocillicase
Freelance Assassins
|
Posted - 2010.01.06 20:35:00 -
[3]
Originally by: Amida Ta
The library is (or should be) able to dynamically identify if it does not have physical drive access. In that case it disables HDD caching by default and will only do memory caching.
Should this also be the case for XBAP deployment? I'm gettng:
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.Reflection.Assembly.VerifyCodeBaseDiscovery(String codeBase) at System.Reflection.Assembly.GetName(Boolean copiedName) at System.Reflection.Assembly.GetName() at EveAI.Live.EveApiConfiguration..cctor() The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission
The first permission that failed was: <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" PathDiscovery="snip...EveAI.Live.DLL"/>
The demand was for: <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" PathDiscovery="snip...EveAI.Live.DLL"/>
When attempting to run it.
Thanks
|

Laxxor Borocillicase
Freelance Assassins
|
Posted - 2010.02.13 00:56:00 -
[4]
Edited by: Laxxor Borocillicase on 13/02/2010 00:57:26 Edited by: Laxxor Borocillicase on 13/02/2010 00:57:01 There are a few other changes that I've noticed which is possibly more to do with the static data than your API I expect, but for those not aware:
- Maufactring materials for blueprints can now be found in ManufacturingBaseMaterials property (they used to be part of one of the Manufacturing Activities
- Something seems to have changed with regards to GetProductStatistics, but I've not located what exactly
|

Laxxor Borocillicase
Freelance Assassins
|
Posted - 2010.03.03 22:41:00 -
[5]
To Krathos
Firstly, I don't know your end goals so I can't comment for your exact intentions. Secondly, I have no involvelemt with Amidas project, just offering my thoughts on your processes.
Originally by: Amida Ta
<snip> But on the other hand I don't think you need saving at all. EveAI implements all caching and saving for you. If you need the data just call EveAI and it will deliver it...
Are we really talking about saving - do you intend to output data to a file or printer or ..?
Originally by: Amida Ta P.S. And IF you really want to save yourself then you should try to save the concrete data objects (e.g. AccountEntry objects) but not the api class itself.
Saving the mechannics of the API rather then just the data would seem to be excessive - seeing as you say this is your first software project, is it possible you mean something else, rather then the API, or rather than "saving"?
Originally by: Krathos Morpheus The thing is that I want to make character groups to switch and group, so I would like to make one collection and call the characters apis from that collection from another that defines the groups.
That could be quite a lot of data? Would it not be better to just store the bare basics and load the rest on demand? Or create your own data objects, specific to your requirements, then populate and store them?
Good luck with your project - if this is your first then try not to code your idea from your mind straight into code - draw diagrams to illustrate your logic flow (if only for your own reference) - you may see a different way of doing things before you even start.
I'm sure others and myself will help you on your way.
Lax
|
|
|
|